package Homework;

import java.io.File;
import java.io.FileFilter;

public class T6 {
    public static void main(String[] args) {
        File file = new File(".");
        FileFilter fis = file1 -> file1.getName().contains("s");
        File [] s = file.listFiles(fis);
        for (File s1:s ){
            System.out.println(s1.getName());
        }
        }
    }

